import Mock from 'mockjs'

// upload
Mock.mock(/\/api\/web\/file\/upload/, 'post', () => {
  return {
    code: '200',
    // 假设上传成功后返回文件URL
    resData: Mock.Random.image('200x100', '#50B347', '#FFF', 'Mock File'),
    msg: '上传成功'
  }
})